package com.jixiang.tracedata.model.traveller;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

import java.io.Serializable;

/**
 * @author quanbiao
 * @date 2018-08-31
 * 常客信息
 */
@XStreamAlias("FrequentTraveler")
public class FrequentTraveler implements Serializable {

    private static final long serialVersionUID = 2209892600281982457L;

    /**
     * 常客航空公司二字代码
     */
    @XStreamAsAttribute()
    private String CompanyCode;

    /**
     * 常客号
     */
    @XStreamAsAttribute()
    private String Number;

    /**
     * 联盟等级
     */
    @XStreamAsAttribute()
    private String AllianceLevel;

    /**
     * company on which the miles will be accrued.  Example: DL
     */
    @XStreamAsAttribute()
    private String FlyingCompany;

    /**
     * 常客等级
     */
    @XStreamAsAttribute()
    private String LoyalLevel;

    public String getCompanyCode() {
        return CompanyCode;
    }

    public void setCompanyCode(String companyCode) {
        CompanyCode = companyCode;
    }

    public String getNumber() {
        return Number;
    }

    public void setNumber(String number) {
        Number = number;
    }

    public String getAllianceLevel() {
        return AllianceLevel;
    }

    public void setAllianceLevel(String allianceLevel) {
        AllianceLevel = allianceLevel;
    }

    public String getFlyingCompany() {
        return FlyingCompany;
    }

    public void setFlyingCompany(String flyingCompany) {
        FlyingCompany = flyingCompany;
    }

    public String getLoyalLevel() {
        return LoyalLevel;
    }

    public void setLoyalLevel(String loyalLevel) {
        LoyalLevel = loyalLevel;
    }


    @Override
    public String toString() {
        return "{" +
                "CompanyCode:" + CompanyCode +
                ", Number:" + Number +
                ", AllianceLevel:" + AllianceLevel +
                ", FlyingCompany:" + FlyingCompany +
                ", LoyalLevel:" + LoyalLevel +
                '}';
    }
}
